import celery

import time

backend = "redis://118.89.35.209:6379/10"
broker = "redis://118.89.35.209:6379/11"


cel = celery.Celery('test',backend=backend,broker=broker)

@cel.task
def triger_task():
    print("start work")
    time.sleep(5)
    print("end work")
    return True